package com.guodexiain.nyiotclient.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 类说明: <br>
 * <a href="http://www.xuejiaao.com">北京学佳澳教育科技有限公司</a>
 *
 * @author 作者:南阳德刚<br>
 * 2024-10-16 9:01
 */

@Component
public class IotConfigProperties {
    @Value("${huawei.iot.regin_id}")
    private String regin_id;  //华东-上海一

    @Value("${huawei.iot.endpoint}")
    private String endpoint; //

    @Value("${huawei.iot.ak}")//ak 在华为云，我的凭证中查找-访问密钥
    private String ak;

    @Value("${huawei.iot.sk}")//sk
    private String sk;

    @Value("${huawei.iot.projectid}") //项目id
    private String projectid;

    public String getRegin_id() {
        return regin_id;
    }

    public void setRegin_id(String regin_id) {
        this.regin_id = regin_id;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAk() {
        return ak;
    }

    public void setAk(String ak) {
        this.ak = ak;
    }

    public String getSk() {
        return sk;
    }

    public void setSk(String sk) {
        this.sk = sk;
    }

    public String getProjectid() {
        return projectid;
    }

    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }
}
